package org.gdpu.model;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created with IntelliJ IDEA.
 * User: willson
 * Date: 13-10-31
 * Time: 上午10:30
 * To change this template use File | Settings | File Templates.
 */
@Entity
public class BloodSum {

    /*
        血型:A、B、O、AB
    */
    private String bloodType;

    /*
        总量
    */
    private double sum;

    @Id
    public String getBloodType() {
        return bloodType;
    }

    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    public double getSum() {
        return sum;
    }

    public void setSum(double sum) {
        this.sum = sum;
    }
}
